import request from '@/utils/request'

// 查询条码/编号列表
export function based(query) {
  return request({
    url: '/process/based/list',
    method: 'get',
    params: query
  })
}


// 查询LRP
export function getLrpData(query) {
  return request({
    url: '/process/based/getLrpData',
    method: 'get',
    params: query
  })
}

// 修改条码
export function baseEdit(data) {
  return request({
    url: '/process/based/edit',
    method: 'put',
    data
  })
}

// 修改基本信息
export function lrpCompare(data) {
  return request({
    url: '/process/based/lrpCompare',
    method: 'post',
    data
  })
}